package com.ies.ieschool.client.module.academic.dto;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class SubjectListGridDTO extends ListGridRecord {

	public SubjectListGridDTO() {
	}

	public SubjectListGridDTO(String SubjectID, String SubjectName, String SubjectAbbreviation,
			String LearningType, String SubjectWeight, String SubjectHours) {
		setSubjectID(SubjectID);
		setSubjectName(SubjectName);
		setSubjectAbbreviation(SubjectAbbreviation);
		setLearningType(LearningType);
		setSubjectWeight(SubjectWeight);
		setSubjectHours(SubjectHours);

	}

	public void setSubjectID(String SubjectID) {
		setAttribute("subject_id", SubjectID);
	}

	public void setSubjectName(String SubjectName) {
		setAttribute("subject_name", SubjectName);
	}

	public void setSubjectAbbreviation(String SubjectAbbreviation) {
		setAttribute("subject_abbreviation", SubjectAbbreviation);
	}

	public void setLearningType(String LearningType) {
		setAttribute("learning_type", LearningType);
	}

	public void setSubjectWeight(String SubjectWeight) {
		setAttribute("subject_weight", SubjectWeight);
	}
	
	public void setSubjectHours(String SubjectHours){
		setAttribute("subject_hours", SubjectHours);
	}
}